import request from '@/utils/request'

const StoragePosition = {
  // 仓库货位列表
  pageStoragePosition(data) {
    return request({
      url: 'StoragePosition/pageStoragePosition',
      method: 'post',
      data
    })
  },
  // 新增修改仓库货位
  addStoragePosition(data) {
    return request({
      url: 'StoragePosition/addStoragePosition',
      method: 'post',
      data
    })
  },
  // 删除仓库货位
  delStoragePosition(data) {
    return request({
      url: 'StoragePosition/delStoragePosition',
      method: 'post',
      data
    })
  },
  // 单个仓库货位详情
  getStoragePosition(data) {
    return request({
      url: 'StoragePosition/getStoragePosition',
      method: 'post',
      data
    })
  },
  // 获取商品物料sku分页列表 (货位绑定sku时)
  pageSku(data) {
    return request({
      url: 'StoragePosition/pageSku',
      method: 'post',
      data
    })
  }
}
export { StoragePosition }
